package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderDetailIdIsNull() {
            addCriterion("order_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdIsNotNull() {
            addCriterion("order_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdEqualTo(Long value) {
            addCriterion("order_detail_id =", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotEqualTo(Long value) {
            addCriterion("order_detail_id <>", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdGreaterThan(Long value) {
            addCriterion("order_detail_id >", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_detail_id >=", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdLessThan(Long value) {
            addCriterion("order_detail_id <", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdLessThanOrEqualTo(Long value) {
            addCriterion("order_detail_id <=", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdIn(List<Long> values) {
            addCriterion("order_detail_id in", values, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotIn(List<Long> values) {
            addCriterion("order_detail_id not in", values, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdBetween(Long value1, Long value2) {
            addCriterion("order_detail_id between", value1, value2, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotBetween(Long value1, Long value2) {
            addCriterion("order_detail_id not between", value1, value2, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(String value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(String value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(String value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(String value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(String value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLike(String value) {
            addCriterion("product_id like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotLike(String value) {
            addCriterion("product_id not like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<String> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<String> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(String value1, String value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(String value1, String value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdIsNull() {
            addCriterion("catalog_id is null");
            return (Criteria) this;
        }

        public Criteria andCatalogIdIsNotNull() {
            addCriterion("catalog_id is not null");
            return (Criteria) this;
        }

        public Criteria andCatalogIdEqualTo(String value) {
            addCriterion("catalog_id =", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdNotEqualTo(String value) {
            addCriterion("catalog_id <>", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdGreaterThan(String value) {
            addCriterion("catalog_id >", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdGreaterThanOrEqualTo(String value) {
            addCriterion("catalog_id >=", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdLessThan(String value) {
            addCriterion("catalog_id <", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdLessThanOrEqualTo(String value) {
            addCriterion("catalog_id <=", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdLike(String value) {
            addCriterion("catalog_id like", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdNotLike(String value) {
            addCriterion("catalog_id not like", value, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdIn(List<String> values) {
            addCriterion("catalog_id in", values, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdNotIn(List<String> values) {
            addCriterion("catalog_id not in", values, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdBetween(String value1, String value2) {
            addCriterion("catalog_id between", value1, value2, "catalogId");
            return (Criteria) this;
        }

        public Criteria andCatalogIdNotBetween(String value1, String value2) {
            addCriterion("catalog_id not between", value1, value2, "catalogId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdIsNull() {
            addCriterion("first_category_Id is null");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdIsNotNull() {
            addCriterion("first_category_Id is not null");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdEqualTo(Integer value) {
            addCriterion("first_category_Id =", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdNotEqualTo(Integer value) {
            addCriterion("first_category_Id <>", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdGreaterThan(Integer value) {
            addCriterion("first_category_Id >", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("first_category_Id >=", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdLessThan(Integer value) {
            addCriterion("first_category_Id <", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("first_category_Id <=", value, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdIn(List<Integer> values) {
            addCriterion("first_category_Id in", values, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdNotIn(List<Integer> values) {
            addCriterion("first_category_Id not in", values, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("first_category_Id between", value1, value2, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andFirstCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("first_category_Id not between", value1, value2, "firstCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdIsNull() {
            addCriterion("second_category_Id is null");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdIsNotNull() {
            addCriterion("second_category_Id is not null");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdEqualTo(Integer value) {
            addCriterion("second_category_Id =", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdNotEqualTo(Integer value) {
            addCriterion("second_category_Id <>", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdGreaterThan(Integer value) {
            addCriterion("second_category_Id >", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_category_Id >=", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdLessThan(Integer value) {
            addCriterion("second_category_Id <", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("second_category_Id <=", value, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdIn(List<Integer> values) {
            addCriterion("second_category_Id in", values, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdNotIn(List<Integer> values) {
            addCriterion("second_category_Id not in", values, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("second_category_Id between", value1, value2, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andSecondCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("second_category_Id not between", value1, value2, "secondCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdIsNull() {
            addCriterion("third_category_Id is null");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdIsNotNull() {
            addCriterion("third_category_Id is not null");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdEqualTo(Integer value) {
            addCriterion("third_category_Id =", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdNotEqualTo(Integer value) {
            addCriterion("third_category_Id <>", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdGreaterThan(Integer value) {
            addCriterion("third_category_Id >", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("third_category_Id >=", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdLessThan(Integer value) {
            addCriterion("third_category_Id <", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("third_category_Id <=", value, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdIn(List<Integer> values) {
            addCriterion("third_category_Id in", values, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdNotIn(List<Integer> values) {
            addCriterion("third_category_Id not in", values, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("third_category_Id between", value1, value2, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andThirdCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("third_category_Id not between", value1, value2, "thirdCategoryId");
            return (Criteria) this;
        }

        public Criteria andProductCountIsNull() {
            addCriterion("product_count is null");
            return (Criteria) this;
        }

        public Criteria andProductCountIsNotNull() {
            addCriterion("product_count is not null");
            return (Criteria) this;
        }

        public Criteria andProductCountEqualTo(Integer value) {
            addCriterion("product_count =", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountNotEqualTo(Integer value) {
            addCriterion("product_count <>", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountGreaterThan(Integer value) {
            addCriterion("product_count >", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_count >=", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountLessThan(Integer value) {
            addCriterion("product_count <", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountLessThanOrEqualTo(Integer value) {
            addCriterion("product_count <=", value, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountIn(List<Integer> values) {
            addCriterion("product_count in", values, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountNotIn(List<Integer> values) {
            addCriterion("product_count not in", values, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountBetween(Integer value1, Integer value2) {
            addCriterion("product_count between", value1, value2, "productCount");
            return (Criteria) this;
        }

        public Criteria andProductCountNotBetween(Integer value1, Integer value2) {
            addCriterion("product_count not between", value1, value2, "productCount");
            return (Criteria) this;
        }

        public Criteria andBondedAreaIsNull() {
            addCriterion("bonded_area is null");
            return (Criteria) this;
        }

        public Criteria andBondedAreaIsNotNull() {
            addCriterion("bonded_area is not null");
            return (Criteria) this;
        }

        public Criteria andBondedAreaEqualTo(Integer value) {
            addCriterion("bonded_area =", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaNotEqualTo(Integer value) {
            addCriterion("bonded_area <>", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaGreaterThan(Integer value) {
            addCriterion("bonded_area >", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaGreaterThanOrEqualTo(Integer value) {
            addCriterion("bonded_area >=", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaLessThan(Integer value) {
            addCriterion("bonded_area <", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaLessThanOrEqualTo(Integer value) {
            addCriterion("bonded_area <=", value, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaIn(List<Integer> values) {
            addCriterion("bonded_area in", values, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaNotIn(List<Integer> values) {
            addCriterion("bonded_area not in", values, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaBetween(Integer value1, Integer value2) {
            addCriterion("bonded_area between", value1, value2, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andBondedAreaNotBetween(Integer value1, Integer value2) {
            addCriterion("bonded_area not between", value1, value2, "bondedArea");
            return (Criteria) this;
        }

        public Criteria andProductSnapIsNull() {
            addCriterion("product_snap is null");
            return (Criteria) this;
        }

        public Criteria andProductSnapIsNotNull() {
            addCriterion("product_snap is not null");
            return (Criteria) this;
        }

        public Criteria andProductSnapEqualTo(String value) {
            addCriterion("product_snap =", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapNotEqualTo(String value) {
            addCriterion("product_snap <>", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapGreaterThan(String value) {
            addCriterion("product_snap >", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapGreaterThanOrEqualTo(String value) {
            addCriterion("product_snap >=", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapLessThan(String value) {
            addCriterion("product_snap <", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapLessThanOrEqualTo(String value) {
            addCriterion("product_snap <=", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapLike(String value) {
            addCriterion("product_snap like", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapNotLike(String value) {
            addCriterion("product_snap not like", value, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapIn(List<String> values) {
            addCriterion("product_snap in", values, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapNotIn(List<String> values) {
            addCriterion("product_snap not in", values, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapBetween(String value1, String value2) {
            addCriterion("product_snap between", value1, value2, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductSnapNotBetween(String value1, String value2) {
            addCriterion("product_snap not between", value1, value2, "productSnap");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNull() {
            addCriterion("product_price is null");
            return (Criteria) this;
        }

        public Criteria andProductPriceIsNotNull() {
            addCriterion("product_price is not null");
            return (Criteria) this;
        }

        public Criteria andProductPriceEqualTo(BigDecimal value) {
            addCriterion("product_price =", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotEqualTo(BigDecimal value) {
            addCriterion("product_price <>", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThan(BigDecimal value) {
            addCriterion("product_price >", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("product_price >=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThan(BigDecimal value) {
            addCriterion("product_price <", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("product_price <=", value, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceIn(List<BigDecimal> values) {
            addCriterion("product_price in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotIn(List<BigDecimal> values) {
            addCriterion("product_price not in", values, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_price between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("product_price not between", value1, value2, "productPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIsNull() {
            addCriterion("original_price is null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIsNotNull() {
            addCriterion("original_price is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceEqualTo(BigDecimal value) {
            addCriterion("original_price =", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotEqualTo(BigDecimal value) {
            addCriterion("original_price <>", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThan(BigDecimal value) {
            addCriterion("original_price >", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("original_price >=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThan(BigDecimal value) {
            addCriterion("original_price <", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("original_price <=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIn(List<BigDecimal> values) {
            addCriterion("original_price in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotIn(List<BigDecimal> values) {
            addCriterion("original_price not in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("original_price between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("original_price not between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountIsNull() {
            addCriterion("subsidy_amount is null");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountIsNotNull() {
            addCriterion("subsidy_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountEqualTo(BigDecimal value) {
            addCriterion("subsidy_amount =", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountNotEqualTo(BigDecimal value) {
            addCriterion("subsidy_amount <>", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountGreaterThan(BigDecimal value) {
            addCriterion("subsidy_amount >", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("subsidy_amount >=", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountLessThan(BigDecimal value) {
            addCriterion("subsidy_amount <", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("subsidy_amount <=", value, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountIn(List<BigDecimal> values) {
            addCriterion("subsidy_amount in", values, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountNotIn(List<BigDecimal> values) {
            addCriterion("subsidy_amount not in", values, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("subsidy_amount between", value1, value2, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSubsidyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("subsidy_amount not between", value1, value2, "subsidyAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountIsNull() {
            addCriterion("seller_coupon_amount is null");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountIsNotNull() {
            addCriterion("seller_coupon_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountEqualTo(BigDecimal value) {
            addCriterion("seller_coupon_amount =", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountNotEqualTo(BigDecimal value) {
            addCriterion("seller_coupon_amount <>", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountGreaterThan(BigDecimal value) {
            addCriterion("seller_coupon_amount >", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("seller_coupon_amount >=", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountLessThan(BigDecimal value) {
            addCriterion("seller_coupon_amount <", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("seller_coupon_amount <=", value, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountIn(List<BigDecimal> values) {
            addCriterion("seller_coupon_amount in", values, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountNotIn(List<BigDecimal> values) {
            addCriterion("seller_coupon_amount not in", values, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("seller_coupon_amount between", value1, value2, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andSellerCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("seller_coupon_amount not between", value1, value2, "sellerCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountIsNull() {
            addCriterion("ymt_coupon_amount is null");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountIsNotNull() {
            addCriterion("ymt_coupon_amount is not null");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountEqualTo(BigDecimal value) {
            addCriterion("ymt_coupon_amount =", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountNotEqualTo(BigDecimal value) {
            addCriterion("ymt_coupon_amount <>", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountGreaterThan(BigDecimal value) {
            addCriterion("ymt_coupon_amount >", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ymt_coupon_amount >=", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountLessThan(BigDecimal value) {
            addCriterion("ymt_coupon_amount <", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ymt_coupon_amount <=", value, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountIn(List<BigDecimal> values) {
            addCriterion("ymt_coupon_amount in", values, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountNotIn(List<BigDecimal> values) {
            addCriterion("ymt_coupon_amount not in", values, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ymt_coupon_amount between", value1, value2, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andYmtCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ymt_coupon_amount not between", value1, value2, "ymtCouponAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountIsNull() {
            addCriterion("promotion_amount is null");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountIsNotNull() {
            addCriterion("promotion_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountEqualTo(BigDecimal value) {
            addCriterion("promotion_amount =", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountNotEqualTo(BigDecimal value) {
            addCriterion("promotion_amount <>", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountGreaterThan(BigDecimal value) {
            addCriterion("promotion_amount >", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("promotion_amount >=", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountLessThan(BigDecimal value) {
            addCriterion("promotion_amount <", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("promotion_amount <=", value, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountIn(List<BigDecimal> values) {
            addCriterion("promotion_amount in", values, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountNotIn(List<BigDecimal> values) {
            addCriterion("promotion_amount not in", values, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("promotion_amount between", value1, value2, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andPromotionAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("promotion_amount not between", value1, value2, "promotionAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(BigDecimal value) {
            addCriterion("discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(BigDecimal value) {
            addCriterion("discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(BigDecimal value) {
            addCriterion("discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(BigDecimal value) {
            addCriterion("discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<BigDecimal> values) {
            addCriterion("discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<BigDecimal> values) {
            addCriterion("discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andFreightIsNull() {
            addCriterion("freight is null");
            return (Criteria) this;
        }

        public Criteria andFreightIsNotNull() {
            addCriterion("freight is not null");
            return (Criteria) this;
        }

        public Criteria andFreightEqualTo(BigDecimal value) {
            addCriterion("freight =", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotEqualTo(BigDecimal value) {
            addCriterion("freight <>", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightGreaterThan(BigDecimal value) {
            addCriterion("freight >", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("freight >=", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightLessThan(BigDecimal value) {
            addCriterion("freight <", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("freight <=", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightIn(List<BigDecimal> values) {
            addCriterion("freight in", values, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotIn(List<BigDecimal> values) {
            addCriterion("freight not in", values, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("freight between", value1, value2, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("freight not between", value1, value2, "freight");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIsNull() {
            addCriterion("thirdparty_discount is null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIsNotNull() {
            addCriterion("thirdparty_discount is not null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount =", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount <>", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountGreaterThan(BigDecimal value) {
            addCriterion("thirdparty_discount >", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount >=", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountLessThan(BigDecimal value) {
            addCriterion("thirdparty_discount <", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount <=", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIn(List<BigDecimal> values) {
            addCriterion("thirdparty_discount in", values, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotIn(List<BigDecimal> values) {
            addCriterion("thirdparty_discount not in", values, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_discount between", value1, value2, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_discount not between", value1, value2, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdIsNull() {
            addCriterion("activity_temp_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdIsNotNull() {
            addCriterion("activity_temp_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdEqualTo(Integer value) {
            addCriterion("activity_temp_id =", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdNotEqualTo(Integer value) {
            addCriterion("activity_temp_id <>", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdGreaterThan(Integer value) {
            addCriterion("activity_temp_id >", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_temp_id >=", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdLessThan(Integer value) {
            addCriterion("activity_temp_id <", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_temp_id <=", value, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdIn(List<Integer> values) {
            addCriterion("activity_temp_id in", values, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdNotIn(List<Integer> values) {
            addCriterion("activity_temp_id not in", values, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_temp_id between", value1, value2, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andActivityTempIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_temp_id not between", value1, value2, "activityTempId");
            return (Criteria) this;
        }

        public Criteria andTariffTypeIsNull() {
            addCriterion("tariff_type is null");
            return (Criteria) this;
        }

        public Criteria andTariffTypeIsNotNull() {
            addCriterion("tariff_type is not null");
            return (Criteria) this;
        }

        public Criteria andTariffTypeEqualTo(Integer value) {
            addCriterion("tariff_type =", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeNotEqualTo(Integer value) {
            addCriterion("tariff_type <>", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeGreaterThan(Integer value) {
            addCriterion("tariff_type >", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("tariff_type >=", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeLessThan(Integer value) {
            addCriterion("tariff_type <", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeLessThanOrEqualTo(Integer value) {
            addCriterion("tariff_type <=", value, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeIn(List<Integer> values) {
            addCriterion("tariff_type in", values, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeNotIn(List<Integer> values) {
            addCriterion("tariff_type not in", values, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeBetween(Integer value1, Integer value2) {
            addCriterion("tariff_type between", value1, value2, "tariffType");
            return (Criteria) this;
        }

        public Criteria andTariffTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("tariff_type not between", value1, value2, "tariffType");
            return (Criteria) this;
        }

        public Criteria andRefundChannelIsNull() {
            addCriterion("refund_channel is null");
            return (Criteria) this;
        }

        public Criteria andRefundChannelIsNotNull() {
            addCriterion("refund_channel is not null");
            return (Criteria) this;
        }

        public Criteria andRefundChannelEqualTo(Integer value) {
            addCriterion("refund_channel =", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelNotEqualTo(Integer value) {
            addCriterion("refund_channel <>", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelGreaterThan(Integer value) {
            addCriterion("refund_channel >", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelGreaterThanOrEqualTo(Integer value) {
            addCriterion("refund_channel >=", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelLessThan(Integer value) {
            addCriterion("refund_channel <", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelLessThanOrEqualTo(Integer value) {
            addCriterion("refund_channel <=", value, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelIn(List<Integer> values) {
            addCriterion("refund_channel in", values, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelNotIn(List<Integer> values) {
            addCriterion("refund_channel not in", values, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelBetween(Integer value1, Integer value2) {
            addCriterion("refund_channel between", value1, value2, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andRefundChannelNotBetween(Integer value1, Integer value2) {
            addCriterion("refund_channel not between", value1, value2, "refundChannel");
            return (Criteria) this;
        }

        public Criteria andSalesTypeIsNull() {
            addCriterion("sales_type is null");
            return (Criteria) this;
        }

        public Criteria andSalesTypeIsNotNull() {
            addCriterion("sales_type is not null");
            return (Criteria) this;
        }

        public Criteria andSalesTypeEqualTo(Integer value) {
            addCriterion("sales_type =", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeNotEqualTo(Integer value) {
            addCriterion("sales_type <>", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeGreaterThan(Integer value) {
            addCriterion("sales_type >", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_type >=", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeLessThan(Integer value) {
            addCriterion("sales_type <", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeLessThanOrEqualTo(Integer value) {
            addCriterion("sales_type <=", value, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeIn(List<Integer> values) {
            addCriterion("sales_type in", values, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeNotIn(List<Integer> values) {
            addCriterion("sales_type not in", values, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeBetween(Integer value1, Integer value2) {
            addCriterion("sales_type between", value1, value2, "salesType");
            return (Criteria) this;
        }

        public Criteria andSalesTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_type not between", value1, value2, "salesType");
            return (Criteria) this;
        }

        public Criteria andFreeFreightIsNull() {
            addCriterion("free_freight is null");
            return (Criteria) this;
        }

        public Criteria andFreeFreightIsNotNull() {
            addCriterion("free_freight is not null");
            return (Criteria) this;
        }

        public Criteria andFreeFreightEqualTo(Boolean value) {
            addCriterion("free_freight =", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightNotEqualTo(Boolean value) {
            addCriterion("free_freight <>", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightGreaterThan(Boolean value) {
            addCriterion("free_freight >", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightGreaterThanOrEqualTo(Boolean value) {
            addCriterion("free_freight >=", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightLessThan(Boolean value) {
            addCriterion("free_freight <", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightLessThanOrEqualTo(Boolean value) {
            addCriterion("free_freight <=", value, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightIn(List<Boolean> values) {
            addCriterion("free_freight in", values, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightNotIn(List<Boolean> values) {
            addCriterion("free_freight not in", values, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightBetween(Boolean value1, Boolean value2) {
            addCriterion("free_freight between", value1, value2, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andFreeFreightNotBetween(Boolean value1, Boolean value2) {
            addCriterion("free_freight not between", value1, value2, "freeFreight");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundIsNull() {
            addCriterion("support_no_reason_refund is null");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundIsNotNull() {
            addCriterion("support_no_reason_refund is not null");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundEqualTo(Boolean value) {
            addCriterion("support_no_reason_refund =", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundNotEqualTo(Boolean value) {
            addCriterion("support_no_reason_refund <>", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundGreaterThan(Boolean value) {
            addCriterion("support_no_reason_refund >", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundGreaterThanOrEqualTo(Boolean value) {
            addCriterion("support_no_reason_refund >=", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundLessThan(Boolean value) {
            addCriterion("support_no_reason_refund <", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundLessThanOrEqualTo(Boolean value) {
            addCriterion("support_no_reason_refund <=", value, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundIn(List<Boolean> values) {
            addCriterion("support_no_reason_refund in", values, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundNotIn(List<Boolean> values) {
            addCriterion("support_no_reason_refund not in", values, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundBetween(Boolean value1, Boolean value2) {
            addCriterion("support_no_reason_refund between", value1, value2, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andSupportNoReasonRefundNotBetween(Boolean value1, Boolean value2) {
            addCriterion("support_no_reason_refund not between", value1, value2, "supportNoReasonRefund");
            return (Criteria) this;
        }

        public Criteria andPspProductIsNull() {
            addCriterion("psp_product is null");
            return (Criteria) this;
        }

        public Criteria andPspProductIsNotNull() {
            addCriterion("psp_product is not null");
            return (Criteria) this;
        }

        public Criteria andPspProductEqualTo(Boolean value) {
            addCriterion("psp_product =", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductNotEqualTo(Boolean value) {
            addCriterion("psp_product <>", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductGreaterThan(Boolean value) {
            addCriterion("psp_product >", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductGreaterThanOrEqualTo(Boolean value) {
            addCriterion("psp_product >=", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductLessThan(Boolean value) {
            addCriterion("psp_product <", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductLessThanOrEqualTo(Boolean value) {
            addCriterion("psp_product <=", value, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductIn(List<Boolean> values) {
            addCriterion("psp_product in", values, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductNotIn(List<Boolean> values) {
            addCriterion("psp_product not in", values, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductBetween(Boolean value1, Boolean value2) {
            addCriterion("psp_product between", value1, value2, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andPspProductNotBetween(Boolean value1, Boolean value2) {
            addCriterion("psp_product not between", value1, value2, "pspProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductIsNull() {
            addCriterion("sub_product is null");
            return (Criteria) this;
        }

        public Criteria andSubProductIsNotNull() {
            addCriterion("sub_product is not null");
            return (Criteria) this;
        }

        public Criteria andSubProductEqualTo(Boolean value) {
            addCriterion("sub_product =", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductNotEqualTo(Boolean value) {
            addCriterion("sub_product <>", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductGreaterThan(Boolean value) {
            addCriterion("sub_product >", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductGreaterThanOrEqualTo(Boolean value) {
            addCriterion("sub_product >=", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductLessThan(Boolean value) {
            addCriterion("sub_product <", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductLessThanOrEqualTo(Boolean value) {
            addCriterion("sub_product <=", value, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductIn(List<Boolean> values) {
            addCriterion("sub_product in", values, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductNotIn(List<Boolean> values) {
            addCriterion("sub_product not in", values, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductBetween(Boolean value1, Boolean value2) {
            addCriterion("sub_product between", value1, value2, "subProduct");
            return (Criteria) this;
        }

        public Criteria andSubProductNotBetween(Boolean value1, Boolean value2) {
            addCriterion("sub_product not between", value1, value2, "subProduct");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}